projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4a385
)
(revert-buffer): widen before replacing text.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 30 Apr 1994 02:41:03 +0000
(
02:41
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 30 Apr 1994 02:41:03 +0000
(
02:41
+0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index b3654ec3656ba6a524983461f38325177e7f06e0..4a7e3ed78339563bc0ec3816aeb9121a89260978 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-1828,6
+1828,7
@@
beginning and `after-revert-hook' at the end."
(let ((buffer-file-name nil))
(or auto-save-p
(unlock-buffer)))
+ (widen)
(insert-file-contents file-name (not auto-save-p)
nil nil t)))
(goto-char (min opoint (point-max)))